package com.softaria.spkiller.metadata;

import java.util.ArrayList;
import java.util.Collection;


public class ClassMetaDataImpl implements ClassMetaData {

	private Collection<AnnotationIdentifier> annotations = new ArrayList<AnnotationIdentifier>();
	private ClassIdentifier superClassIdentifier;
	private ClassIdentifier id;
	private Collection<ClassIdentifier> interfaces;
	
	
	public ClassMetaDataImpl(Collection<AnnotationIdentifier> annotations,
			Collection<ClassIdentifier> interfaces, ClassIdentifier superClassIdentifier,ClassIdentifier id) {
		super();
		this.annotations = annotations;
		this.interfaces = interfaces;
		this.superClassIdentifier = superClassIdentifier;
		this.id = id;
	}

	@Override
	public Collection<AnnotationIdentifier> getAnnotations() {
		return annotations;
	}


	@Override
	public ClassIdentifier getSuperclass() {
		return superClassIdentifier;
	}

	@Override
	public ClassIdentifier getIdentifier() {
		return id;
	}

	@Override
	public Collection<ClassIdentifier> getInterfaces() {
		return interfaces;
	}
	
	

}
